Skip to content

Conversation

ZhangJianAo
Copy link

Add sentence-transformers embedding support.

Use the EMBEDDING_ENGINE environment variable to control which engine to use.

The sentence-transformers/all-MiniLM-L6-v2 model generates vector with 384 items. Therefore, some datastores may need to create an index based on the vector length of the embedding engines, instead of hardcoding it to 1536.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant